//package com.lord.pay.web;
//
//import java.util.Map;
//
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import com.lord.pay.unionpay.sdk.DemoBase;
//import com.lord.pay.unionpay.utils.UnionpayUtils;
//
//@RestController
//public class PayTestController {
//
//    @GetMapping(value = "/pay/open/query")
//    public Map<String, String> openQuery() throws Exception {
//        System.out.println("==进入测试接口类！");
//
//        String cardNo = "6216261000000000018";
//        String orderCode = "20190828163131765";
//        return UnionpayUtils.merchantOpenQuery(cardNo, orderCode, DemoBase.getCurrentTime());
//    }
//
//    @GetMapping(value = "/pay/open/card")
//    public Map<String, String> openCard() throws Exception {
//        System.out.println("==进入测试接口类！");
//
//        String cardNo = "6221558812340000";
//        String orderCode = "20190828163131765";
//        return UnionpayUtils.merchantOpenCard(cardNo, orderCode, DemoBase.getCurrentTime());
//    }
//}
